package com.dragon.stack;

/**
 * @author dragon
 * @version 1.0
 * @description 栈
 * @date created in 2018-12-12
 */
public interface Stack<E> {

    E pop();

    void push(E e);

    int size();

    E peek();

    boolean isEmpty();
}
